﻿using System;
using System.IO;
using System.Text.RegularExpressions;

namespace PerformanceTestConsol
{
    class Program
    {
        static void Main(string[] args)
        {
            using (
                var filestream = new System.IO.FileStream(@"G:\新建文件夹\MongoDB_rbsA_1 (分片)_2019-01-18_17-31-11.log", System.IO.FileMode.Open,
                    System.IO.FileAccess.Read, FileShare.Read))
            {
                using (var sw = new StreamReader(filestream))
                {
                    var str = sw.ReadToEnd();
                    var list = Regex.Matches(str, @"C.*d");
                }
            }


           
            Console.ReadLine();

        }
    }
}
